<script>
window.addEventListener("message", function (evt) {
    top.pass();
    top.postMessage("step1-done", "*");
}, false);

top.postMessage("step1-ready", "*");
</script>
